//
//  Person.m
//  OC05_遍历与排序
//
//  Created by Hanlingyu on 16/7/8.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "Person.h"

@implementation Person

- (instancetype)initWithName:(NSString *)name age:(NSInteger)age {
    self = [super init];
    if (self) {
        _name = name;
        _age = age;
    }
    return self;
}
- (NSString *)description {
    return [NSString stringWithFormat:@"%@, %ld", _name, _age];
}
@end
